import request from '@/utils/request'

/**
 * @description 供应商登录接口
 */
export const login = (data) => {
  return request({
    url: '/dealerPCLogin',
    method: 'post',
    data,
  })
}

/**
 * @description 获取验证码
 */
export const getCode = () => {
  return request({
    url: '/dealer/captchaimage',
    method: 'get',
  })
}
